<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <script src="app.js" type="module"></script>
  </head>
  <body>
    <div id="app" style="border: solid 2px #ddd; padding: 20px">
      <input type="text" v-model="name" />
      <hr />
      <input type="text" v-model="name" />
      <hr />
      <input type="text" v-model="title" />
      <hr />
      <h1 v-text="name" style="padding: 10px; border: solid 1px #aaa"></h1>
      <hr />
      <p v-html="content"></p>
      <hr />
      <button @click="change">更改数据</button>
      <hr />
      <button @click="desc">-</button><span v-text="num"></span>
      <button @click="incr">+</button>
      <hr />
      <span v-text="sum"></span>

      <hr />
      商品总计：<span v-text="total"></span>
    </div>
  </body>
</html>
